const devBaseURL = 'http://192.168.3.54:5001'
const devBasePicURL = '192.168.3.54:80'
// const devBaseURL = 'http://127.0.0.1:5001'
// const devBasePicURL = '127.0.0.1:80'
const api = {
  NOTICE_DETAIL: '/api/v1/user/role/notice',
  NOTICE_SUBMIT: '/api/v1/user/role/notice/edit',
  PRINTING_SHIPMENT: '/api/v1/export/shipment',
  PRINTING_DISTRIBUTION: '/api/v1/export/distribution',
  DOWNLOAD_FILE: '/api/v1/order/uploadFile',
  DOWNLOAD_FILE_DETAIL: '/api/v1/order/getUploadFile',
  UPLOAD_PICTURE: '/api/v1/order/picture',
  PERMISSION: '/api/v1/user/permission',
  LOGIN: '/index/login',
  LOGOUT: '/index/logout',
  REGISTER: 'index/register',
  USER_LIST: '/api/v1/user/list',
  USER_DETAIL: '/api/v1/user/getById',
  USER_EDIT: '/api/v1/user/edit',
  USER_ROLE_LIST: '/api/v1/user/role/list',
  UNLOGIN_USER_ROLE_LIST: 'index/role/list',
  USER_ORDER: '/api/v1/user/order',
  USER_TODO: '/api/v1/user/todo',
  USER_NOTE: '/api/v1/user/note',
  USER_NOTE_EDIT: '/api/v1/user/note/edit',
  ROLE_LIST: '/api/v1/user/role/list',
  ROLE_DEL: '/api/v1/user/role/delete',
  ROLE_EDIT: '/api/v1/user/role/edit',
  ROLE_ALL_PERMISSION: '/api/v1/user/role/permission',
  ROLE_DETAIL: '/api/v1/user/role/getById',
  BRAND_LIST: '/api/v1/brand/list',
  BRAND_DETAIL: '/api/v1/brand/getById',
  BRAND_EDIT: '/api/v1/brand/edit',
  BRAND_DEL: '/api/v1/brand/delete',
  BRAND_ORDER: '/api/v1/brand/order',
  CUSTOMER_LIST: '/api/v1/customer/list',
  CUSTOMER_SELECT_LIST: '/api/v1/customer/select/list',
  CUSTOMER_DETAIL: '/api/v1/customer/getById',
  ORDER_LIST: '/api/v1/order/list',
  ORDER_EDIT: '/api/v1/order/edit',
  ORDER_DELETE: '/api/v1/order/delete',
  ORDER_APPROVE: '/api/v1/order/status',
  ORDER_JUDGE: '/api/v1/order/check',
  ORDER_EXAMINE: '/api/v1/order/child/edit',
  ORDER_DETAIL: '/api/v1/order/getById',
  ORDER_CHILD_DETAIL: '/api/v1/order/child/getById',
  ORDER_JUDGE_CHILD: '/api/v1/order/check/child',
  ORDER_OPERATION: '/api/v1/order/operation/list',
  ORDER_LASTJUDGE: '/api/v1/order/item/problem',
  CHILD_ORDER_IMPORT: '/api/v1/order/item/import',
  CHILD_ORDER_EDIT: '/api/v1/order/item/edit',
  CHILD_ORDER_SALE: '/api/v1/order/child/sale'
}

export {
  api, devBaseURL, devBasePicURL
}
